package protocol;

import java.net.InetAddress;

public class Hello extends Message {

	private static final long serialVersionUID = 123L;

	private boolean repreq;

	public Hello (boolean repreq, String username, InetAddress address){
		super(username, address);
		this.repreq = repreq;
	}

	public boolean isRepreq() {
		return repreq;
	}

	public String toString(){
		return (super.toString() + " Type: HELLO; Reponse Requis: "+repreq);

	}

}